//
//  XXButonSegment.h
//  WangLottery
//
//  Created by 黄修勇 on 12-5-19.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface XXButonSegment : UIControl{

    NSMutableArray *viewItems;
    UIImage *normalImg;
    UIImage *selectImg;
}


@property (nonatomic)NSInteger selectIndex;
@property (nonatomic,readonly)NSInteger numberOfItem;
@property (nonatomic)float itemMargin;

-(id)initwithItem:(NSArray *)items;

@end
